package com.codedancer.campus.manager.api.admin.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import lombok.Data;

@Data
@ApiModel("管理员登录Ro")
public class AdminLoginRo {

    @ApiModelProperty("登录名称")
    @NotEmpty(message = "登录名称为空")
    private String loginName;

    @ApiModelProperty("登录密码")
    @NotEmpty(message = "密码为空")
    private String password;

    @ApiModelProperty("验证码Key")
    @NotEmpty(message = "验证码key为空")
    private String captchaKey;

    @ApiModelProperty("验证码")
    @NotEmpty(message = "验证码为空")
    private String captchaCode;
}
